package com.lingyun.financialmanagement.service;

import com.lingyun.financialmanagement.dao.pojo.BusinessTrip;
import com.lingyun.financialmanagement.dao.pojo.ComponentPart;
import com.lingyun.financialmanagement.vo.Result;

public interface ComponentPartService {
    Result selectByProjectToComponent(Integer projectId);

    Result selectAllComponent();

    Result selectComponentById(Integer id);

    Result selectAllPayMethodComponent();

    Result selectPayMethodComponentToken();

    Result addComponentPart(ComponentPart componentPart);

    Result outPutComponentPart(Integer id, Integer number, Integer project);

    Result selectWarehouseName(String name);

    Result selectWarehouseNumber(String serialNumber);

    Result selectCreditComponent();

    Result updatePaymentMethod(ComponentPart componentPart);

    Result selectComponentPartCreditCost();

    Result addBusinessTrip(BusinessTrip businessTrip);

    Result deleteComponentById(Integer id);

    Result selectCheckPending();

    Result updateCheckPending(Integer id, String state);

    Result selectReviewComponentByToken();

    Result revocationComponentState(Integer id);
}
